package org.blogwu.learn.designpattern.chapter16.v2;

public abstract class Printable {
    /**
     * 设置名字
     *
     * @param name
     */
    public abstract void setPrintName(String name);

    /**
     * 获取名字
     *
     * @return
     */
    public abstract String getPrinterName();

    /**
     * 显示文字(打印输出)
     *
     * @param string
     */
    public abstract void print(String string);
}
